'use strict'

class setReviewedTrue {
        
    constructor(){
       this.param = '/'
    }


    async post(c){
        let id = JSON.parse(c.body).id
        let reason = JSON.parse(c.body).reason
        let data=await c.service.model.db_userstep.getreviewed_true(id,reason)
        c.send(data,200)
    }

}

module.exports = setReviewedTrue